package com.qianfeng.smartdevice.mapper;

import com.qianfeng.smartdevice.pojo.SysLogininfor;
import org.apache.ibatis.annotations.Insert;

/**
 * Created by wenka on 2022/3/20 17:09
 *
 * @author Jackiechan
 * @version 1.0
 * @since 1.0
 */
public interface SysLogininforMapper {

    /**
     * 添加数据
     * @param sysLogininfor
     */
    @Insert("insert into sys_logininfor values(null,#{loginName},#{ipaddr},#{loginLocation},#{browser},#{os},#{status},#{msg},#{loginTime}) ")
    void addLoginLog(SysLogininfor sysLogininfor);
}
